﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMM.Core.Entity.Areas
{
    [Table("Area")]
    public class AreaCity : Entity<int>
    {
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public override int Id { get => base.Id; set => base.Id = value; }

        public string Name { get; set; }

        public int ParentID { get; set; }

        public string ShortName { get; set; }

        /// <summary>
        /// 0,中国；1，省分；2，市；3，区、县
        /// </summary>
        public int LevelType { get; set; }

        public int CityCode { get; set; }

        public int ZipCode { get; set; }

        public double lng { get; set; }

        public double lat { get; set; }

        public string PinYin { get; set; }

        public int Status { get; set; }
    }
}
